package com.iwhalecloud.citybrain.flow.platform.manager.application.config;

import java.util.List;

import com.iwhalecloud.citybrain.flow.platform.manager.application.service.impl.FlowableConfiguration;
import org.flowable.engine.common.api.delegate.event.FlowableEventListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lilh
 * @date 2021/6/21 18:05
 */
@Configuration
public class FlowableConfig {

    @Bean
    public FlowableConfiguration customFlowableConfiguration(List<FlowableEventListener> flowableEventListeners) {
        return new FlowableConfiguration(flowableEventListeners);
    }
}
